package com.groupname.dangerousdelves;

import android.widget.EditText;
import sofia.app.Screen;

// -------------------------------------------------------------------------
/**
 *  Write a one-sentence summary of your class here.
 *  Follow it with additional details about its purpose, what abstraction
 *  it represents, and how to use it.
 *
 *  @author Chris Fieldman (Chrisf90)
 *  @version 2012.11.14
 */
public class NewGameScreen
    extends Screen
{
    //~-------------------------------------------------------------------------
    // Member Variables
    private EditText playerName;


    //~-------------------------------------------------------------------------
    // Methods
    /**
     * Place a description of your method here.
     */
    public void initialize()
    {

    }

    // ----------------------------------------------------------
    /**
     * Place a description of your method here.
     */
    public void startGameClicked()
    {
        String name = playerName.getText().toString();

        presentScreen(DungeonScreen.class);

        finish();
    }
}
